package com.igroupes.ovineherd.model.enums;

import com.igroupes.ovineherd.enums.CodeEnum;

/**
 * mysql数据库基础字段
 */
public enum MySqlTypeKey implements CodeEnum<String> {
    BIGINT("bigint"),
    INT("int"),
    TEXT("text"),
    DECIMAL("decimal"),
    VARCHAR("varchar"),
    LONGTEXT("longtext"),
    ;

    private String key;
    MySqlTypeKey(String key){
        this.key = key;
    }
    @Override
    public String getCode() {
        return this.key;
    }
}
